<h1>Listing quarks</h1>

<table>
  <tr>
    <th>Job</th>
    <th>Content</th>
    <th>Content type</th>
  </tr>

<% @quarks.each do |quark| %>
  <tr>
    <td><%=h quark.job_id %></td>
    <td><%=h quark.content %></td>
    <td><%=h quark.content_type %></td>
  </tr>
<% end %>
</table>

<br />
<%= link_to 'Back to Job', job_url(@job) %>
<%= link_to 'new', new_job_quark_url %> 